

const routes = [
    {
        path: 'home',
        component: () => import('@/views/home/index.vue'),
        meta: {
            title: "首页",
            parentPath: 'home'
        }
    },
    {
        path: 'trademark',
        component: () => import('@/views/home/trademarkcontent.vue'),
        meta: {
            title: "商标检索",
            parentPath: 'home',
        },
        children: [{
            path: 'index',
            component: () => import('@/views/home/trademark.vue'),
            meta: {
                hideFont: true
            }
        }, {
            path: 'trademarkr',
            component: () => import('@/views/home/trademarkr.vue'),
            meta: {
                fontBgColor: 'white',
                title: "商标检索",
            }
        }, {
            path: 'trademarkdetails',
            component: () => import('@/views/home/trademarkdetails.vue'),
            meta: {
                fontBgColor: 'white',
                title: "商标检索",
            }
        }, {
            path: 'image',
            component: () => import('@/views/home/image.vue'),
            meta: {
                hideFont: true,
                title: "图像检索",
            }
        }, {
            path: "senior", component: () => import('@/views/home/senior.vue'), meta: {
                hideFont: true,
                title: "高级检索",
            }
        }]
    },
    {
        path: 'tool',
        component: () => import('@/views/home/tool.vue'),
        meta: {
            title: "更多工具",
            parentPath: 'home'
        }
    }, {
        path: 'patent',
        component: () => import('@/views/home/patentcontent.vue'),
        meta: {
            title: "专利检索",
            parentPath: 'home'
        },
        children: [{
            path: 'index',
            component: () => import('@/views/home/patent.vue'),
            meta: {
                hideFont: true
            }
        }, {
            path: 'list',
            component: () => import('@/views/home/patent/list.vue'),
            meta: {
                fontBgColor: 'white',
                title: "专利检索",
            }
        }, {
            path: 'image',
            component: () => import('@/views/home/patent/image.vue'),
            meta: {
                hideFont: true
            }
        }, {
            path: 'law',
            component: () => import('@/views/home/patent/law.vue'),
            meta: {
                fontBgColor: 'white',
                title: "法律检索",
            }
        }, {
            path: 'batch',
            component: () => import('@/views/home/patent/batch.vue'),
            meta: {
                fontBgColor: 'white',
                title: "批量检索",
            }
        }, {
            path: 'semantics',
            component: () => import('@/views/home/patent/semantics.vue'),
            meta: {
                fontBgColor: 'white',
                title: "语义检索", hideFont: true
            }
        }]
    }, {
        path: 'contact',
        component: () => import('@/views/home/contact.vue'),
        meta: {
            title: "联系我们",
            parentPath: 'home'
        }
    }, {
        path: 'order',
        component: () => import('@/views/home/order.vue'),
        meta: {
            title: "在线订购",
            parentPath: 'home',
            hideFont: true
        }
    },
]

export default routes